<?php
	class MenuView
	{
		public function DrawMenu($loginUrl)
		{
			$xhtml = "
			<header>
				<h1>XmlApp</h1>
			</header>
			<nav>
				<ul id='menu'>
					<li id='menuHome'><a href='index.php'>Startsida</a></li>
					<li id='menuAll'><a href='index.php?controller=fzxml&type=all'>Nyheter (Alla)</a></li>
					<li id='menuPc'><a href='index.php?controller=fzxml&type=pc'>Nyheter (PC)</a></li>
					<li id='menuConsole'><a href='index.php?controller=fzxml&type=console'>Nyheter (Konsoll)</a></li>
					<li><a href='".$loginUrl['url']."'>".$loginUrl['type']."</a></li>
					<li><a href='test.php'>(Tester)</a></li>
				</ul>
			</nav>
			";
			return $xhtml;
		}
	}